package com.xwamp.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

@SuppressWarnings({"serial", "unchecked"})
public class BaseAuthRoleModel<M extends BaseAuthRoleModel<M>> extends Model<M> implements IBean {
	public M setId(Integer value) {
		set("id", value);
		return (M)this;
	}

	public Integer getId() {
		return get("id");
	}
	public M setTitle(String value) {
		set("title", value);
		return (M)this;
	}

	public String getTitle() {
		return get("title");
	}
	public M setCode(String value) {
		set("code", value);
		return (M)this;
	}

	public String getCode() {
		return get("code");
	}
	public M setRules(String value) {
		set("rules", value);
		return (M)this;
	}

	public String getRules() {
		return get("rules");
	}
	public M setRemark(String value) {
		set("remark", value);
		return (M)this;
	}

	public String getRemark() {
		return get("remark");
	}
	public M setSort(Short value) {
		set("sort", value);
		return (M)this;
	}

	public Short getSort() {
		return get("sort");
	}
	public M setStatus(Short value) {
		set("status", value);
		return (M)this;
	}

	public Short getStatus() {
		return get("status");
	}
	public M setCreateTime(String value) {
		set("create_time", value);
		return (M)this;
	}

	public String getCreateTime() {
		return get("create_time");
	}

}
